<template>
  <div style="padding: 32px;">
    <el-card>
      <h2>欢迎使用智芯ERP管理系统</h2>
      <p>当前登录用户：{{ userStore.userInfo?.realName || '未登录' }}</p>
    </el-card>
  </div>
</template>

<script setup>
import { useUserStore } from '@/store/user'
const userStore = useUserStore()
</script> 